package com.wiiss.ams.util;

import cn.hutool.core.util.StrUtil;

public class Exc extends RuntimeException {

    private static final long serialVersionUID = 1L;

    public Exc(Throwable cause, CharSequence template, Object... params) {
        super(StrUtil.format(template, params), cause);
    }

    public Exc(CharSequence template, Object... params) {
        super(StrUtil.format(template, params));
    }

}
